# files
SRCDEP = main.cpp rte.cpp rte_.cpp
SRCGEN = application.cpp
OBJDEP = $(SRCDEP:.cpp=.o)
OBJGEN = $(SRCGEN:.cpp=.o)
OUTLIB = lib/linux/librte.a

# options
VPATH = src/linux src
CPPFLAGS  = -I include/ -I include/linux/

# compiler
CC = g++
AR = ar

$(OUTLIB): $(OBJDEP) $(OBJGEN)
	$(AR) rcs $(OUTLIB) $(OBJDEP) $(OBJGEN)

clean:
	rm *.o

